/*url模块
 * req.url   不识别#部分
 * 
 * 
 * */
var http = require("http");
var url = require("url");
http.createServer(function (req, res) {
	//res.writeHead(200,{});
	var a = url.parse(req.url).query;//id=6&name=lixiangwei
	var b = url.parse(req.url,true).query;//{id:'6',name:'lixiangwei'}
	console.log(b);
	res.end('服务器收到了数据');
}).listen(3000,'127.0.0.1');
